﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

	<%
		if(Session["Username"] == null) 
		{
            FormsAuthentication.SignOut();
			Response.Redirect("~/Account/Login.aspx");                
		}   
	%>

	<div class="loading"></div>
	
	<div class="form-left">
        <h2>Movie List</h2>
		<asp:Label ID="Label1" CssClass="label" runat="server" Text="Select movie"></asp:Label>
		<asp:DropDownList ID="MovieList" runat="server" AutoPostBack="true"
			OnTextChanged="MovieList_TextChanged">
		</asp:DropDownList>

		<br />

		<asp:Label ID="ScheduleListLabel" CssClass="label" runat="server" Text="Select time"></asp:Label>
		<asp:DropDownList ID="ScheduleList" CssClass="schedule-dropdown" runat="server">
		</asp:DropDownList>

		<div class="seat-wrap"></div>
		<!--<asp:Table ID="SeatTable" runat="server">
		</asp:Table>-->
	</div>

	<div class="form-right">
		<h2>Reservation</h2>
		<label>Name: </label>
		<asp:TextBox CssClass="name_input" runat="server" Text=""></asp:TextBox>
		<br />
		<label>Phone: </label>
		<asp:TextBox CssClass="phone_input" ID="TextBox1" runat="server" Text=""></asp:TextBox>
	</div>
	
</asp:Content>

